package com.hddf.project.auth.dao;

import java.util.List;

import com.mongodb.DBCollection;
import com.mongodb.DBObject;

public interface AuthorityDao_MongoDB {
	
	public boolean save(DBObject obj,DBCollection c);
	
	public boolean update(DBObject obj,DBCollection c);
	
	public boolean delete(int id,DBCollection c);
	
	public List<DBObject> getAuthByIdArray(int[] array, DBCollection c);
	
	public DBObject getAuthById(String id, DBCollection c);
	
	public List<DBObject> getAuthList(String start,String limit,int state, DBCollection c);
	
	public int getAuthTotalCount(int state, DBCollection c);
	
}
